﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="All.aspx.cs" Inherits="WinnerCMS.WebUI.Admin.Counter.All" %>

<%@ Register Src="../UC_AjaxLoading.ascx" TagName="UC_AjaxLoading" TagPrefix="uc1" %>

<!doctype html>
<html>
<head runat="server">
    <title>详细记录</title>
    <meta charset="utf-8">
    <meta content="no-cache" http-equiv="Pragma" />
    <%: Scripts.Render("~/Scripts/AdminBase") %>


    <%: Styles.Render("~/Content/Bootstrap/css") %>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <table id="NavigationPath">
            <tr>
                <td width="50%">

                    <asp:Label ID="lblPath" runat="server"></asp:Label>
                </td>
                <td width="50%"></td>
            </tr>
        </table>
        <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
            <ProgressTemplate>
                <uc1:UC_AjaxLoading ID="UC_AjaxLoading1" runat="server" />
            </ProgressTemplate>
        </asp:UpdateProgress>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:GridView ID="GV_List" runat="server" AutoGenerateColumns="False" DataKeyNames="ID" GridLines="None" CssClass="table table-bordered table-condensed table-hover">
                    <HeaderStyle CssClass="HeaderStyle"></HeaderStyle>
                    <Columns>
                        <asp:BoundField DataField="time" HeaderText="时间" DataFormatString="{0:yyyy-MM-dd HH:mm:ss}">
                            <ItemStyle Width="109px" HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="ip" HeaderText="来访地址">
                            <ItemStyle Width="80px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Browser" HeaderText="浏览器">
                            <ItemStyle Width="80px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="OS" HeaderText="操作系统">
                            <ItemStyle Width="80px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Resolution" HeaderText="分辨率">
                            <ItemStyle Width="70px" />
                        </asp:BoundField>
                        <asp:HyperLinkField DataNavigateUrlFields="come" DataTextField="come" HeaderText="来源"
                            Target="_blank" />
                    </Columns>
                </asp:GridView>
                <asp:Label ID="lblNoShow" runat="server"></asp:Label><br />
                &nbsp;删除：<WinnerCMS:Calendar ID="CD_DateTime" runat="server" CalendarResource="../../images/CalendarResource/" />
                &nbsp; 之前的访问日志
            <asp:Button ID="btnDelete" runat="server" Text="删除" OnClick="btnDelete_Click" CssClass="btn btn-default" />
                |
            <asp:Button ID="btnDeleteAll" runat="server" Text="清空日志" OnClick="btnDeleteAll_Click"
                CssClass="btn btn-default" />

                <WinnerCMS:PageNavigation ID="PageNavigation1" runat="server" Width="98%" OnPageChanging="PageNavigation1_PageChanging"
                    PageSize="15" CustomInfoSectionWidth="240px" />

            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>
</html>
